Exercise (1) - Teachable Machine Image Project
Step 1 - Teachable Machine Image Project
-
Open
Teachable Machine Image Project
.
- Create two distinct classes (e.g., "Owner" and "Background", or "Pen" and "No Pen").
- Hold down the webcam button to record 30–50 image samples for each class.
- Train the model and test live predictions in the preview panel.
Step 2 - Creating a "Weak" Model (Failure Modes)
- Create a new model, but intentionally limit the training data: record only 5 samples for Class A, and capture them from a single angle or in dark lighting.
- Test the weak model by changing your position, distance, or room lighting. Record where the model fails or makes confident wrong guesses.
Step 3 - Iterative Improvement & Bias Testing
- Add a third class (e.g. "Stranger" or "Owner 2") with significantly fewer samples than the original classes to observe dataset imbalance.
- Retrain the model with varied samples (different angles, lighting, background changes) and equalize sample counts across all classes.
- Compare the confidence scores before and after retraining on unseen test inputs.
Solutions